package com.ruoyi.project.system.service;

import java.util.List;
import java.util.Map;

import com.ruoyi.project.system.domain.CollegePaperAnswerDetail;

/**
 * 答题详情Service接口
 * 
 * @author ruoyi
 * @date 2020-11-19
 */
public interface ICollegePaperAnswerDetailService 
{
    /**
     * 查询答题详情
     * 
     * @param id 答题详情ID
     * @return 答题详情
     */
    public CollegePaperAnswerDetail selectCollegePaperAnswerDetailById(Long id);

    /**
     * 查询学校考试结果列表
     * 
     * @param collegePaperAnswerDetail 答题详情
     * @return 答题详情集合
     */
    public List<Map<String,Object>> selectCollegePaperAnswerDetailList(CollegePaperAnswerDetail collegePaperAnswerDetail);

    /**
     * 新增答题详情
     * 
     * @param collegePaperAnswerDetail 答题详情
     * @return 结果
     */
    public int insertCollegePaperAnswerDetail(CollegePaperAnswerDetail collegePaperAnswerDetail);

    /**
     * 修改答题详情
     * 
     * @param collegePaperAnswerDetail 答题详情
     * @return 结果
     */
    public int updateCollegePaperAnswerDetail(CollegePaperAnswerDetail collegePaperAnswerDetail);

    /**
     * 批量删除答题详情
     * 
     * @param ids 需要删除的答题详情ID
     * @return 结果
     */
    public int deleteCollegePaperAnswerDetailByIds(Long[] ids);

    /**
     * 删除答题详情信息
     * 
     * @param id 答题详情ID
     * @return 结果
     */
    public int deleteCollegePaperAnswerDetailById(Long id);

    List<Map<String, Object>> selectListinfo(CollegePaperAnswerDetail collegePaperAnswerDetail);
}
